package com.hh.bss.talent.controller;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.hh.bss.base.BaseQuery;
import com.hh.bss.util.StringHelper;

public class CvSelectCvQuery  extends BaseQuery implements Serializable {
	   private static final long serialVersionUID = 3148176768559230877L;
	    

		/** id */
		private java.lang.Integer id;

		/** 人才简历id */
		private java.lang.Integer cvId;
		/** 目标公司库中 */
		private java.lang.Integer companyId;
		/** creator */
		private java.lang.String creator;
		/** createDt */
		private java.util.Date createDtBegin;
		private java.util.Date createDtEnd;
		private java.lang.Integer jobId;
		private String cvName;
	    private String phone;
	    private String cvType;
	    private Integer deptId;
		private Integer titleId;
		private Integer oldDeptId;
		private Integer oldTitleId;
		private java.lang.String modifier;
		public java.lang.String getModifier() {
			return modifier;
		}

		public void setModifier(java.lang.String modifier) {
			this.modifier = modifier;
		}

		public Integer getDeptId() {
			return deptId;
		}

		public void setDeptId(Integer deptId) {
			this.deptId = deptId;
		}

		public Integer getTitleId() {
			return titleId;
		}

		public void setTitleId(Integer titleId) {
			this.titleId = titleId;
		}

		public Integer getOldDeptId() {
			return oldDeptId;
		}

		public void setOldDeptId(Integer oldDeptId) {
			this.oldDeptId = oldDeptId;
		}

		public Integer getOldTitleId() {
			return oldTitleId;
		}

		public void setOldTitleId(Integer oldTitleId) {
			this.oldTitleId = oldTitleId;
		}

		public String getCvType() {
			return cvType;
		}

		public void setCvType(String cvType) {
			this.cvType = cvType;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

		private String email;
		private String mobile;
		public String getEmail() {
			return email;
		}

		public void setEmail(String email) {
			this.email = email;
		}

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getCvName() {
			return cvName;
		}

		public void setCvName(String cvName) {
			this.cvName = cvName;
		}

		public java.lang.Integer getJobId() {
			return jobId;
		}

		public void setJobId(java.lang.Integer jobId) {
			this.jobId = jobId;
		}

		public java.lang.Integer getId() {
			return this.id;
		}
		
		public void setId(java.lang.Integer value) {
			this.id = value;
		}
		
		
		public java.lang.Integer getCvId() {
			return this.cvId;
		}
		
		public void setCvId(java.lang.Integer value) {
			this.cvId = value;
		}
		
		public java.lang.Integer getCompanyId() {
			return this.companyId;
		}
		
		public void setCompanyId(java.lang.Integer value) {
			this.companyId = value;
		}
		
		public java.lang.String getCreator() {
			return this.creator;
		}
		
		public void setCreator(java.lang.String value) {
			this.creator = value;
		}
		
		public java.util.Date getCreateDtBegin() {
			return this.createDtBegin;
		}
		
		public void setCreateDtBegin(java.util.Date value) {
			this.createDtBegin = value;
		}	
		
		public java.util.Date getCreateDtEnd() {
			return this.createDtEnd;
		}
		
		public void setCreateDtEnd(java.util.Date value) {
			this.createDtEnd = value;
		}
		
		private String field_type;
		private String query;

		public String getField_type() {
			return field_type;
		}

		public void setField_type(String file_type) {
			this.field_type = file_type;
		}

		public String getQuery() {
			return query;
		}

		public void setQuery(String query) {
			this.query = query;
		}
	        private String sort;
		private String dir;

	        public String getSort() {
			return sort;
		}

		public void setSort(String sort) {
			
			this.sort = sort;
			if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
			  this.setSortColumns(sort+" "+dir);
		}

		public String getDir() {
			return dir;
		}

		public void setDir(String dir) {
			this.dir = dir;
		}
		public String toString() {
			return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
		}

}
